﻿<BadHabit_WPFTools:ShapedWindow
    x:Class="BadHabit.Factory.Views.Welcome"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:BadHabit_WPFTools="clr-namespace:BadHabit.WPFTools;assembly=BadHabit.WPFTools"        
    xmlns:props="clr-namespace:BadHabit.Factory.Windows.Properties"
        
    Style="{StaticResource DialogWindow}"        
    WindowStartupLocation="CenterScreen"
    
    
    
    Topmost="True"
        
    Title="Welcome"
    SizeToContent="WidthAndHeight">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="auto"/>
            <ColumnDefinition Width="300"/>
        </Grid.ColumnDefinitions>
        <Image
            Grid.Column="0"
            Margin="5"
            VerticalAlignment="Top"
            Width="65" Height="61" Stretch="Uniform"
            Source="/Images/logo.png" />
        <StackPanel
            Grid.Column="1">
            <TextBlock Margin="5" FontSize="20" Foreground="{StaticResource DarkTextBrush}" Text="{x:Static props:Resources.Be_Welcome}"/>
            <TextBlock Margin="5,0,0,0" FontSize="14" Foreground="{StaticResource DarkTextBrush}" TextWrapping="Wrap" Text="{x:Static props:Resources.Thanks_for_downloading_The_Scrum_Factory}" />
            <TextBlock Margin="5,5,0,0" TextWrapping="Wrap" FontWeight="Bold" Text="{x:Static props:Resources.We_hope_Factory_brings_you}"/>
            
            
            <TextBlock Margin="5,15,0,10" TextWrapping="Wrap">
                <TextBlock Text="{x:Static props:Resources.If_you_are_facing_any_trouble}" TextWrapping="Wrap"/>            
                <Hyperlink RequestNavigate="Hyperlink_RequestNavigate" NavigateUri="http://www.scrum-factory.com/en-us/Support.aspx">
                <TextBlock Text="{x:Static props:Resources.support_page}" TextWrapping="Wrap"/>
            </Hyperlink>.</TextBlock>
        </StackPanel>

    </Grid>
</BadHabit_WPFTools:ShapedWindow>
